Skip to content

Migrate Timeharbor Legacy - #34

Merged
Dharp02 merged 26 commits into
mieweb:mainfrom
mfisher31:migrate-timeharbor-legacy
Apr 23, 2026
Merged

Dharp02 merged 26 commits into
mieweb:mainfrom
mfisher31:migrate-timeharbor-legacy

Conversation

@mfisher31

@mfisher31 mfisher31 commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

Essentially is switching to the universal backend, keeping existing UI. No additional features to be added. The backend must be running for this app to run.

see also: Dharp02/timeharbor-timehuddle-backend#7

Closes #12
Closes #33
Closes #2
Closes #19

…agement

- Added new API methods for user account creation, profile updates, and password resets.
- Integrated timecore backend for authentication, replacing previous Meteor methods.
- Introduced session context to manage user authentication state across the application.
- Updated LoginForm component to handle new authentication flows including password reset requests.
- Refactored SettingsPage and UserDropdown components to utilize session context for user data.
- Enhanced email handling in development mode to capture unsent emails.
- Configured email/password account settings and removed deprecated methods.
- Updated SSR handling for login and signup modes.
@mfisher31 mfisher31 moved this from Ready to In Progress in Scrum Team Jerry Apr 21, 2026
…hods

- Updated TeamsPage component to fetch teams and members via REST API.
- Removed Meteor subscriptions and methods related to teams.
- Introduced teamApi for handling team-related API requests.
- Refactored TeamContext to manage team state using REST.
- Adjusted ticket handling to align with new team structure.
- Cleaned up unused code and improved loading states for team actions.
- Removed Meteor subscriptions and methods for clock events and tickets.
- Integrated REST API calls for starting/stopping clock events and managing tickets.
- Updated ClockPage and TimesheetPage components to handle new API structure.
- Enhanced TeamContext to manage active clock events via REST.
- Adjusted API definitions to support new clock event and ticket structures.
@mfisher31 mfisher31 changed the title Migrate timeharbor legacy Migrate Timeharbor Legacy Apr 22, 2026
@mfisher31
mfisher31 marked this pull request as ready for review April 22, 2026 14:59
@mfisher31 mfisher31 moved this from In Progress to Review in Scrum Team Jerry Apr 22, 2026
mfisher31 and others added 11 commits April 22, 2026 13:15
- Updated package.json to change project name and scripts for Vite.
- Removed server/main.ts as part of the migration.
- Adjusted tsconfig.json to include vite.config.ts instead of server.
- Added vite.config.ts for Vite configuration with React support and path aliases.
…gged in

- Add anti-flash inline script and style to index.html to apply saved
  theme from localStorage before first paint, preventing the white flicker
- Set html background-color in styles.css to match app bg (light/dark)
- Replace logo <a> with <span> in Sidebar so it does not navigate when logged in
Use PerformanceNavigationTiming to detect reloads and pass
duration:0 to MotionConfig so the sidebar renders instantly
without spring animations. Normal interactions animate as usual.
…d consistency

- Updated ProfilePage component to enhance text formatting and spacing.
- Refactored UsernameBadge to improve promise handling in useEffect.
- Cleaned up unnecessary whitespace in api.ts files.
- Simplified TeamChart and TeamsPage components for better readability.
- Enhanced TicketsPage with consistent formatting and improved button handling.
- Streamlined API calls in lib/api.ts for better clarity.
- Adjusted constants and session management for cleaner code.
- Improved LoginForm and SettingsPage for better user experience and readability.
- Refined Sidebar and ThemeToggle components for consistency in styling.
- Updated UserDropdown for better structure and readability.
- Cleaned up index.html for improved formatting.

Co-authored-by: Copilot <copilot@github.com>
- Remove Meteor install/cache steps — project is now Vite-based
- Bump Node to 24 (required by @mieweb/ychart engine constraint)
- Replace meteor build with npm run build (Vite)
- Update artifact path from build/ to dist/
mfisher31 and others added 4 commits April 22, 2026 16:07
ychart injects an unlayered header{} rule with a blue gradient background.
Added a higher-specificity header.sticky{} override to reset the affected
properties (background, color, padding, box-shadow) so app chrome is unaffected.
@Dharp02
Dharp02 merged commit 326a213 into mieweb:main Apr 23, 2026
@github-project-automation github-project-automation Bot moved this from Review to Done in Scrum Team Jerry Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

2 participants